﻿using System;
using System.Collections.Generic;
using System.Reflection;

namespace Framework.Core.Io
{
    public class AssemblyAdapter : IAssemblyAdapter
    {
        public Assembly GetEntryAssembly()
        {
            return Assembly.GetEntryAssembly();
        }

        public IEnumerable<Assembly> GetAssembliesOfCurrentAppDomain()
        {
            return AppDomain.CurrentDomain.GetAssemblies();
        }
    }
}